Piwik\CronArchive\QueueConsumer B

Total Complexity 90
Dependencies 18
Dependents 1
Total lines 574
Lines of code 340
Logical lines of code 212
Comment lines 93
Methods 20
Properties 16

Methods 20

Method Rating Maintainability Complexity Lines of code
getNextArchivesToProcess()
C
30 22 126
shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress()
A
49 12 30
hasIntersectingPeriod()
A
54 10 21
archiveArrayContainsArchive()
A
58 9 15
getNextInvalidatedArchive()
S
53 5 22
usableArchiveExists()
S
52 5 21
isArchiveNonSegmentAndInProgressArchiveSegment()
S
63 6 10
findSegmentForArchive()
S
57 3 16
isArchiveOfLowerPeriod()
S
64 3 10
addInvalidationToExclude()
S
71 2 6
shouldSkipArchive()
S
72 2 6
canSkipArchiveBecauseNoPoint()
S
62 2 10
getPluginNameForArchiveIfAny()
S
66 2 8
__construct()
S
60 1 13
getInvalidationDescription()
S
63 1 11
skipToNextSite()
S
81 1 3
ignoreIdInvalidation()
S
80 1 3
getNextIdSiteToArchive()
S
81 1 3
detectPluginForArchive()
S
79 1 3
getIdSite()
S
82 1 3